package com.hqy.oauth.service;

import com.hqy.oauth.dto.AuthToken;
import com.hqy.oauth.expection.BusinessException;

public interface LoginService {
    /**
     * 登录接口
     *
     * @param username
     * @param password
     * @return
     */
    AuthToken login(String username, String password) throws BusinessException;
}
